/* Section Styling */
.president-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f5f7fa, #e4ecf7);
  font-family: 'Poppins', sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  position: relative;
}

/* Underline Animation */
.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #007bff;
  display: block;
  margin: 10px auto;
  border-radius: 2px;
  animation: growLine 1s ease-in-out;
}

@keyframes growLine {
  from { width: 0; }
  to { width: 80px; }
}

/* Layout */
.president-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Image */
.president-img {
  flex: 1;
  text-align: center;
  animation: fadeInLeft 1s ease;
}

.president-img img {
  width: 280px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform 0.4s;
}

.president-img img:hover {
  transform: scale(1.05);
}

/* Text */
.president-text {
  flex: 2;
  animation: fadeInRight 1s ease;
}

.president-text h3 {
  font-size: 26px;
  margin-bottom: 5px;
}

.designation {
  color: #555;
  margin-bottom: 15px;
}

.highlight {
  font-weight: bold;
  font-size: 18px;
  color: #007bff;
}

.bold {
  font-weight: bold;
}

.signature {
  margin-top: 20px;
  font-style: italic;
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .president-content {
    flex-direction: column;
    text-align: center;
  }

  .president-img img {
    width: 220px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 24px;
  }

  .president-text h3 {
    font-size: 20px;
  }

  .highlight {
    font-size: 16px;
  }
}
.president-img img {
  width: 450px;   /* increased more */
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  transition: transform 0.4s ease;
}
@media (max-width: 992px) {
  .president-img img {
    width: 350px;
  }
}

@media (max-width: 576px) {
  .president-img img {
    width: 280px;
  }
}